using System;
using System.Collections.Generic;
using System.Text;

namespace FeatureWally.Client {
    public class Common {
        
        public class Constant {
            public const string SearchFieldText = "Enter featurename or guid";
            public class Messages {
                public const string EnterSearchWord = "Please enter a word to search for";
                public const string UnexpectedError = "An unexpected error has occurred: \n{0}";
                public const string EnterUrl = "Please enter a url";
            }
            public class Log {
                public const string SearchStart = "Search started";
                public const string SearchEnd = "Search ended";
                public const string SearchingFeatureDefinitions = "Searching Feature definitions...";
                public const string SearchingWebApplication = "Searching Web Application ({0})...";
                public const string SearchingSiteCollections = "Searching Site Collections...";
                public const string SearchingWebs = "Searching Webs...";
                public const string ErrorInLoadingWebApplication = "Error in loading web application {0}. Error message: {1}";
            }
            public class TreeNodes {
                public const string SearchRoot = "Search: {0}";
                public const string ScopeFarm = "Scope: Farm";
                public const string ScopeWebApplication = "Scope: Web Application";
                public const string ScopeSiteCollection = "Scope: Site";
                public const string ScopeWeb = "Scope: Web";
                public const string ScopeInvalid = "Scope: Invalid";
                public const string ProblemFeatures = "Definition errors";
            }
        }
    }

    public enum FWSearchType {
        DisplayName,
        Id
    }
}
